//
//  KKShareManager.h
//  KKShareManger
//
//  Created by liaozhenming on 16/3/30.
//  Copyright © 2016年 liaozhenming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface KKShareManager : NSObject

//  注册新浪平台
+ (void)registerSinaWithAppKey:(NSString *)appkey appSecret:(NSString*)appSecret;
+ (void)registerSinaWithAppKey:(NSString *)appkey appSecret:(NSString*)appSecret appRequired:(BOOL)required;

//  注册微信平台
+ (void)registerWeiXinWithAppKey:(NSString *)appkey appSecret:(NSString*)appSecret;
+ (void)registerWeiXinWithAppKey:(NSString *)appkey appSecret:(NSString*)appSecret appRequired:(BOOL)required;

//  注册QQ平台
+ (void)registerQQWithAppKey:(NSString *)appkey appSecret:(NSString*)appSecret;
+ (void)registerQQWithAppKey:(NSString *)appkey appSecret:(NSString*)appSecret appRequired:(BOOL)required;

//  分享结果回调
+ (BOOL)shareResultHandleOpenURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;


/** 分享内容 */
+ (void)shareContentWithTitle:(NSString*)title description:(NSString*)description image:(id)image webURL:(NSString*)webURL;

@end
